package com.example.love_margin.Mapper;


import com.example.love_margin.Entity.Sponsorship;
import org.apache.ibatis.annotations.Insert;
import org.apache.ibatis.annotations.Mapper;

@Mapper
public interface SponsorshipMapper {

    @Insert("INSERT INTO sponsorship(pet_id,user_id,sponsorship_time,sponsorship_state，sponsorship_day，observation_day，sponsorship_process，special_note)" +
            "values(#{pet_id},#{user_id},#{sponsorship_time},#{sponsorship_state}，#{sponsorship_day},#{observation_day},#{sponsorship_process},#{special_note}))")
    int addSponsorship(Sponsorship sponsorship);



}
